package org.example.service;

import org.example.pojo.DAmount;
import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.select.DAmountSelect;
import org.example.utils.Result;

import java.util.List;
import java.util.Map;

/**
* @author chenhongkai
* @description 针对表【d_amount(宿舍水电费表)】的数据库操作Service
* @createDate 2024-06-06 09:17:36
*/
public interface DAmountService extends IService<DAmount> {

    Result<Map> selectAll(DAmountSelect dAmountSelect);

//    Result<Map> AddDAmount(DAmount dAmount);

    Result<List<String>> SelectAmountDate();

//    Result<Map> DeleteAmountDate(DAmount dAmount);
//
//    Result<Map> SubmitAmount(DAmount dAmount);

    Result<Map> DownloadAmount(DAmountSelect dAmountSelect);

    Result<Map> SelectAmountByApartmentId(DAmountSelect dAmountSelect);

    Result<Map> GetEncryptionAmount(String month);
}
